<!DOCTYPE html>
<html>
<head>
    <title>注册页面</title>
</head>
<body>
<h1>用户注册</h1>
<form action="/doRegister" method="post">
    <label for="username">用户名:</label>
    <input type="text" id="username" name="username" required><br><br>

    <label for="password">密码:</label>
    <input type="password" id="password" name="password" required><br><br>

    <label>性别:</label><br>
    <input type="radio" id="male" name="gender" value="male" checked>
    <label for="male">男</label><br>
    <input type="radio" id="female" name="gender" value="female">
    <label for="female">女</label><br><br>

    <label for="age">年龄:</label>
    <input type="number" id="age" name="age" required><br><br>

    <label for="origin">籍贯:</label>
    <select id="origin" name="origin">
        <option value="ningxia">宁夏</option>
        <option value="shanxi">陕西</option>
        <option value="gansu">甘肃</option>
        <option value="other">其他</option>
    </select><br><br>

    <label for="email">邮箱:</label>
    <input type="email" id="email" name="email" required><br><br>

    <label>爱好:</label><br>
    <input type="checkbox" id="sing" name="hobbies" value="sing">
    <label for="sing">唱歌</label><br>
    <input type="checkbox" id="dance" name="hobbies" value="dance">
    <label for="dance">跳舞</label><br>
    <input type="checkbox" id="basketball" name="hobbies" value="basketball">
    <label for="basketball">篮球</label><br>
    <input type="checkbox" id="rap" name="hobbies" value="rap">
    <label for="rap">说唱</label><br><br>

    <input type="submit" value="注册">
</form>
</body>
</html>
